package com.qfedu.edu.queuemonitorservice.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * @author xiaobobo
 * @title: QueueParamsProperties
 * @projectName seckill-fy-2401-parent
 * @description: 队列参数的这个properties对象类
 * @date 2024/11/18  11:05
 */
@ConfigurationProperties(prefix = "queue.config")
@Data
public class QueueParamsProperties {

    //消息积压的限流数据
    //队列中有10w条消息的时候就要开始预警
    private Integer limit = 100000;

}
